package com.augurit.gzcgwsp.ywcmn.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "YW_COM_AJ_CL")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwComAjCl implements Serializable {
    @Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_COM_AJ_CL", sequenceName="SEQ_YW_COM_AJ_CL", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_COM_AJ_CL")
    private Long id;
    private Long clid;
    private Long ajid;
    private String sfdz;
    private String tplcode;
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getClid() {
        return clid;
    }
    public void setClid(Long clid) {
        this.clid = clid;
    }
    
    public Long getAjid() {
        return ajid;
    }
    public void setAjid(Long ajid) {
        this.ajid = ajid;
    }
    public String getSfdz() {
        return sfdz;
    }
    public void setSfdz(String sfdz) {
        this.sfdz = sfdz;
    }
    public String getTplcode() {
        return tplcode;
    }
    public void setTplcode(String tplcode) {
        this.tplcode = tplcode;
    }
    
}
